package com.aidex.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aidex.common.utils.log.annotation.FieldRemark;
import com.aidex.common.utils.log.annotation.LogField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
/**
 * 全国地区信息对象 sys_area
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-04-11
 */
@Data
public class SysArea extends BaseEntity<SysArea>
{
    private static final long serialVersionUID = 1L;

    /** 创建者 */
    private String userId;

    /** 创建部门 */
    private String deptId;

    /** 创建名称 */
    private String userName;

    /** 部门名称 */
    private String deptName;

    /** 公司ID */
    private String companyId;

    /** 编号 */
    private String code;

    /** 名称 */
    private String name;

    /** 编号 */
    private String value;

    /** 名称 */
    private String label;

    /** 街道 */
    private String streetCode;

    /** 所属县 */
    private String areaCode;

    /** 所属市 */
    private String cityCode;

    /** 所属省 */
    private String provinceCode;

    /** 级别 */
    private Integer level;

    /** 排序 */
    private Integer sort;

    /** 状态（0正常 1 停用） */
    private String status;

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }

    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setStreetCode(String streetCode) 
    {
        this.streetCode = streetCode;
    }

    public String getStreetCode() 
    {
        return streetCode;
    }

    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }

    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }

    public void setProvinceCode(String provinceCode) 
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode() 
    {
        return provinceCode;
    }

    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }

    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("userName", getUserName())
            .append("deptName", getDeptName())
            .append("companyId", getCompanyId())
            .append("code", getCode())
            .append("name", getName())
            .append("streetCode", getStreetCode())
            .append("areaCode", getAreaCode())
            .append("cityCode", getCityCode())
            .append("provinceCode", getProvinceCode())
            .append("level", getLevel())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateIp", getUpdateIp())
            .append("version", getVersion())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
